# -*- coding:utf-8 -*-
from PySide.QtGui import *
from PySide.QtCore import *
import sys

QTextCodec.setCodecForTr(QTextCodec.codecForName("utf8"))

class DemoMain(QDialog):
    def __init__(self,parent=None):
        super(DemoMain, self).__init__(parent)
        self.setWindowTitle("练习Demo")
        self.resize(600,600)

        btnTxt=['练习1','练习2','练习3','练习4','练习5','练习6','练习7','练习8','练习9',
                '练习10','练习11','练习12','练习13','练习14','练习15']





if __name__=="__main__":
    app=QApplication(sys.argv)
    demo=DemoMain()
    demo.show()
    sys.exit(app.exec_())